package com.service.cargo;

import com.domain.cargo.Contract;
import com.domain.cargo.ContractExample;
import com.github.pagehelper.PageInfo;

public interface ContractService {

    PageInfo findAll(ContractExample example, Integer page, Integer size);

    Integer delete(String id);

    Integer save(Contract contract);

    Integer update(Contract contract);

    Contract findById(String id);
}
